/*
* @Author: xingmei
* @Date:   2016-12-19
* @Last Modified by:   xingmei
* @Last Modified time: 2018-04-20
*/
define(function(require,exports) {
	// 添加firmCode
	//require('./appfrom').addFirmCode();
	//ajax 统一设置 
	require('module/common/setAjax');
	//解决300ms延迟问题
	require('module/common/optimizeClick').init();
	//是否app打开，隐藏头部
	require('module/common/browser').isShowHead();
	//a 超链接统一处理 增加参数 
	require('module/common/browser').isWeChatOpen();
	window.addEventListener("orientationchange", function() {
		// location.reload();
	}, false);
	//window.goDetail=function(){}
	var myCheckIos=setInterval(function(){
		if(typeof(window.goDetail)=="function"){
			//在ios内
			$(".isoInfo").show();
			clearInterval(myCheckIos)
		}
	},300)
	setTimeout(function(){
		clearInterval(myCheckIos)
	},30000)
});